package com.zygh.policeasset.pojo.dto;

import cn.afterturn.easypoi.util.PoiElUtil;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/pojo/dto/RepairDTO.class */
public class RepairDTO implements Serializable {
    private static final long serialVersionUID = -27997719590997642L;
    @ApiModelProperty("主键")
    private Integer id;
    @ApiModelProperty("资产id集合")
    private String assetsIds;
    @ApiModelProperty("报修简述")
    private String content;
    @ApiModelProperty("维修要求")
    private String requirements;
    @ApiModelProperty("审批编号")
    private String flowNo;
    @ApiModelProperty("状态，0未提交、1待审批、2通过、3驳回、4撤销")
    private Integer status;
    @ApiModelProperty("工单状态 0是未接单，1是已接单，2是已完成")
    private Integer orderStatus;
    @ApiModelProperty("接单人")
    private Integer orderUserId;

    public void setId(Integer id) {
        this.id = id;
    }

    public void setAssetsIds(String assetsIds) {
        this.assetsIds = assetsIds;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setRequirements(String requirements) {
        this.requirements = requirements;
    }

    public void setFlowNo(String flowNo) {
        this.flowNo = flowNo;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public void setOrderUserId(Integer orderUserId) {
        this.orderUserId = orderUserId;
    }

    @Override // java.lang.Object
    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof RepairDTO)) {
            return false;
        }
        RepairDTO other = (RepairDTO) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();
        Object other$id = other.getId();
        if (this$id == null) {
            if (other$id != null) {
                return false;
            }
        } else if (!this$id.equals(other$id)) {
            return false;
        }
        Object this$assetsIds = getAssetsIds();
        Object other$assetsIds = other.getAssetsIds();
        if (this$assetsIds == null) {
            if (other$assetsIds != null) {
                return false;
            }
        } else if (!this$assetsIds.equals(other$assetsIds)) {
            return false;
        }
        Object this$content = getContent();
        Object other$content = other.getContent();
        if (this$content == null) {
            if (other$content != null) {
                return false;
            }
        } else if (!this$content.equals(other$content)) {
            return false;
        }
        Object this$requirements = getRequirements();
        Object other$requirements = other.getRequirements();
        if (this$requirements == null) {
            if (other$requirements != null) {
                return false;
            }
        } else if (!this$requirements.equals(other$requirements)) {
            return false;
        }
        Object this$flowNo = getFlowNo();
        Object other$flowNo = other.getFlowNo();
        if (this$flowNo == null) {
            if (other$flowNo != null) {
                return false;
            }
        } else if (!this$flowNo.equals(other$flowNo)) {
            return false;
        }
        Object this$status = getStatus();
        Object other$status = other.getStatus();
        if (this$status == null) {
            if (other$status != null) {
                return false;
            }
        } else if (!this$status.equals(other$status)) {
            return false;
        }
        Object this$orderStatus = getOrderStatus();
        Object other$orderStatus = other.getOrderStatus();
        if (this$orderStatus == null) {
            if (other$orderStatus != null) {
                return false;
            }
        } else if (!this$orderStatus.equals(other$orderStatus)) {
            return false;
        }
        Object this$orderUserId = getOrderUserId();
        Object other$orderUserId = other.getOrderUserId();
        return this$orderUserId == null ? other$orderUserId == null : this$orderUserId.equals(other$orderUserId);
    }

    protected boolean canEqual(Object other) {
        return other instanceof RepairDTO;
    }

    @Override // java.lang.Object
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $assetsIds = getAssetsIds();
        int result2 = (result * 59) + ($assetsIds == null ? 43 : $assetsIds.hashCode());
        Object $content = getContent();
        int result3 = (result2 * 59) + ($content == null ? 43 : $content.hashCode());
        Object $requirements = getRequirements();
        int result4 = (result3 * 59) + ($requirements == null ? 43 : $requirements.hashCode());
        Object $flowNo = getFlowNo();
        int result5 = (result4 * 59) + ($flowNo == null ? 43 : $flowNo.hashCode());
        Object $status = getStatus();
        int result6 = (result5 * 59) + ($status == null ? 43 : $status.hashCode());
        Object $orderStatus = getOrderStatus();
        int result7 = (result6 * 59) + ($orderStatus == null ? 43 : $orderStatus.hashCode());
        Object $orderUserId = getOrderUserId();
        return (result7 * 59) + ($orderUserId == null ? 43 : $orderUserId.hashCode());
    }

    @Override // java.lang.Object
    public String toString() {
        return "RepairDTO(id=" + getId() + ", assetsIds=" + getAssetsIds() + ", content=" + getContent() + ", requirements=" + getRequirements() + ", flowNo=" + getFlowNo() + ", status=" + getStatus() + ", orderStatus=" + getOrderStatus() + ", orderUserId=" + getOrderUserId() + PoiElUtil.RIGHT_BRACKET;
    }

    public Integer getId() {
        return this.id;
    }

    public String getAssetsIds() {
        return this.assetsIds;
    }

    public String getContent() {
        return this.content;
    }

    public String getRequirements() {
        return this.requirements;
    }

    public String getFlowNo() {
        return this.flowNo;
    }

    public Integer getStatus() {
        return this.status;
    }

    public Integer getOrderStatus() {
        return this.orderStatus;
    }

    public Integer getOrderUserId() {
        return this.orderUserId;
    }
}